<li id="relationship-<%= relationship.id %>">
<span>评论内容:</span>
<span class="content">
	<%= relationship.comment %>
</span>
  <span> 评论人：</span><span><%= relationship.user.name%></span>
<span class="timestamp">
创建时间:<%= time_ago_in_words(relationship.created_at) %> ago.
  <% if current_user?(relationship.post.user) || current_user?(relationship.user)%>
<%= link_to "删除", post_relationship_path(relationship.post, relationship), method: :delete, data: { confirm: "You sure?" } %>
  <%end%>
</span>

</li>